﻿<%@ Page Title="" Language="C#" MasterPageFile="~/WebInterface.Master" AutoEventWireup="true" CodeBehind="RapportEvaluation.aspx.cs" Inherits="WebInterface.WebForm2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .table_border
        {
            border-style:solid; 
            border-color:Black;
            border-width:1px;
        }
        .table_cell
        {
            border-style:solid; 
            border-color:Black;
            border-width:1px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    
    <h1>Liste des évaluations par évaluateur</h1>
    <br />
    <asp:Label ID="Lbl_evaluateur" runat="server" Text="Évaluateur"></asp:Label>
    <asp:DropDownList ID="DropDown_Evaluateur" runat="server" 
        AutoPostBack="True">
    </asp:DropDownList>
    <br />
    <br />
    <table class="table_border" border="0" cellpadding="5px" cellspacing="0" style="">
    <asp:Repeater ID="RepeaterEvaluation" runat="server">
        <HeaderTemplate>
           
            <tr>
                <th class="table_cell">Date</th>
                <th class="table_cell">Sujet</th>
                <th class="table_cell">Contenu</th>
                <th class="table_cell">Rapport</th>
                <th class="table_cell">Note</th>
            </tr>
           
        </HeaderTemplate>
        <ItemTemplate>
             
           <tr style="background-color:#D1D1D1">
                <td class="table_cell"><%# Convert.ToDateTime(DataBinder.Eval(Container.DataItem, "Date")).ToShortDateString() %></td>
                <td class="table_cell"><%# DataBinder.Eval(Container.DataItem, "Sujet") %></td>
                <td class="table_cell"><%# DataBinder.Eval(Container.DataItem, "Contenu") %></td>
                <td class="table_cell"><%# DataBinder.Eval(Container.DataItem, "Rapport")%></td>
                <td class="table_cell"><%# DataBinder.Eval(Container.DataItem, "Note")%></td>
           </tr>
             
         </ItemTemplate>
         <AlternatingItemTemplate>
              
           <tr style="background-color:#EDEEEF;">
                <td class="table_cell"><%# Convert.ToDateTime(DataBinder.Eval(Container.DataItem, "Date")).ToShortDateString() %></td>
                <td class="table_cell"><%# DataBinder.Eval(Container.DataItem, "Sujet") %></td>
                <td class="table_cell"><%# DataBinder.Eval(Container.DataItem, "Contenu") %></td>
                <td class="table_cell"><%# DataBinder.Eval(Container.DataItem, "Rapport") %></td>
                <td class="table_cell"><%# DataBinder.Eval(Container.DataItem, "Note")%></td>
           </tr>
              
         </AlternatingItemTemplate>
         <SeparatorTemplate>
         </SeparatorTemplate>
    </asp:Repeater>    
    </table>

</asp:Content>


